<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <div class="form">
        <div class="linea_form">
            <div class="text_form">
                <h:outputText value="Usuario:" />
            </div>
            <div class="caja_form">
                <h:inputText value="#{usuarioController.selected.nombre}"/>
            </div>
        </div>
        <div class="linea_form">
            <div class="text_form">
                <h:outputText value="Contraseña" />
            </div>
            <div class="caja_form">
                <h:inputSecret value="#{usuarioController.selected.password}" />
            </div>
        </div>
        <div class="linea_form">
            <div class="text_form">
                <h:outputText value="Nombre" />
            </div>
            <div class="caja_form">
                <h:inputText value="#{perfilController.selected.nombre}"/>
            </div>
        </div>
        <div class="linea_form">
            <div class="text_form">
                <h:outputText value="Primer Apellido" />
            </div>
            <div class="caja_form">
                <h:inputText value="#{perfilController.selected.apellido1}"/>
            </div>
        </div>
        <div class="linea_form">
            <div class="text_form">
                <h:outputText value="Segundo Apellido" />
            </div>
            <div class="caja_form">
                <h:inputText value="#{perfilController.selected.apellido2}"/>
            </div>
        </div>
        <div class="linea_form">
            <div class="text_form"></div>
            <div class="caja_form">
                <h:commandButton value="Crear Administrador" action="#{perfilController.create()}"/>
            </div>
        </div>
    </div>
</html> 